package com.ysg.http.data.entity.dynamic;

import android.os.Parcel;
import android.os.Parcelable;
import java.util.List;

/**
 * 评论
 */
public class CommentEntity implements Parcelable {
    private String createtime;
    private int dynamicid;
    private int dzstate;
    private int hfcount;
    private int id;
    private String neirong;
    private String nick;
    private int num;
    private String phone;
    private String pic;
    private String sex;
    private int userid;
    private List<CommentReplyEntity> hfList;

    protected CommentEntity(Parcel in) {
        createtime = in.readString();
        dynamicid = in.readInt();
        dzstate = in.readInt();
        hfcount = in.readInt();
        id = in.readInt();
        neirong = in.readString();
        nick = in.readString();
        num = in.readInt();
        phone = in.readString();
        pic = in.readString();
        sex = in.readString();
        userid = in.readInt();
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(createtime);
        parcel.writeInt(dynamicid);
        parcel.writeInt(dzstate);
        parcel.writeInt(hfcount);
        parcel.writeInt(id);
        parcel.writeString(neirong);
        parcel.writeString(nick);
        parcel.writeInt(num);
        parcel.writeString(phone);
        parcel.writeString(pic);
        parcel.writeString(sex);
        parcel.writeInt(userid);
    }

    public static final Creator<CommentEntity> CREATOR = new Creator<CommentEntity>() {
        @Override
        public CommentEntity createFromParcel(Parcel in) {
            return new CommentEntity(in);
        }

        @Override
        public CommentEntity[] newArray(int size) {
            return new CommentEntity[size];
        }
    };












    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public int getDynamicid() {
        return dynamicid;
    }

    public void setDynamicid(int dynamicid) {
        this.dynamicid = dynamicid;
    }

    public int getDzstate() {
        return dzstate;
    }

    public void setDzstate(int dzstate) {
        this.dzstate = dzstate;
    }

    public int getHfcount() {
        return hfcount;
    }

    public void setHfcount(int hfcount) {
        this.hfcount = hfcount;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getNeirong() {
        return neirong;
    }

    public void setNeirong(String neirong) {
        this.neirong = neirong;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public List<CommentReplyEntity> getHfList() {
        return hfList;
    }

    public void setHfList(List<CommentReplyEntity> hfList) {
        this.hfList = hfList;
    }


}
